package cn.ljy.authority.service;

import cn.ljy.authority.model.SysWechatUser;
import cn.ljy.authority.model.query.SysWechatUserQuery;

public interface SysWechatUserService extends BaseService<SysWechatUser, SysWechatUserQuery>{

/* WechatSessionResponse getWechatSession(String code);

 @Transactional
 SysUser loginOrRegisterByWechat(String code);

 SysWechatUser getWechatUserByOpenId(String openId);

 SysWechatUser getWechatUserByUserId(Long userId);

 @Transactional
 boolean bindWechatUser(Long userId, String openId, String sessionKey);

 boolean unbindWechatUser(Long userId);

 boolean updateWechatUserInfo(SysWechatUser wechatUser);

 String decryptData(String encryptedData, String sessionKey, String iv);*/
}

